package com.bgy.geek.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * 组织表_产品条线(TbOrganization)表实体类
 *
 * @author makejava
 * @since 2021-10-22 11:23:12
 */
@SuppressWarnings("serial")
public class TbOrganization extends Model<TbOrganization> {
	//自增主键
	@TableId(type = IdType.AUTO)
	private Integer id;
	//研发条线名称
	private String name;
	//条线负责人姓名
	private String managerName;
	//条线负责人bip
	private String managerBip;
	//父id
	private Integer parentId;

	private Integer level;
	//描述
	private String description;
	//租户id
	private Integer rentId;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getManagerName() {
		return managerName;
	}

	public void setManagerName(String managerName) {
		this.managerName = managerName;
	}

	public String getManagerBip() {
		return managerBip;
	}

	public void setManagerBip(String managerBip) {
		this.managerBip = managerBip;
	}

	public Integer getParentId() {
		return parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getRentId() {
		return rentId;
	}

	public void setRentId(Integer rentId) {
		this.rentId = rentId;
	}

	/**
	 * 获取主键值
	 *
	 * @return 主键值
	 */
	@Override
	protected Serializable pkVal() {
		return this.id;
	}
}
